package cn.alone.pet.service;

import cn.alone.basic.service.IBaseService;
import cn.alone.pet.domain.Pet;
import cn.alone.user.domain.Logininfo;

import java.util.List;

/**
 * 宠物
 * @author lanan
 */
public interface IPetService extends IBaseService<Pet> {

    Pet loadByIdDetail(Long id);

    void adopt(Long id, Logininfo logininfo);

    void onSale(List<Long> ids);

    void offSale(List<Long> ids);
}
